package xc.com.course.service;

import xc.com.common.Result;
import xc.com.course.domain.CoursePic;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhuolizhong
 * @since 2021-06-03
 */
public interface CoursePicService extends IService<CoursePic> {
    /**
     * 添加图片
     * @param coursePic
     * @return
     */
    Result<String> addCoursePic(CoursePic coursePic);

    /**
     * 根据课程id查询课程图片信息
     * @param courseId
     * @return
     */
    CoursePic selectById(String courseId);
}
